home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ahoy 1987 February
/
Ahoy_Magazine_87-02_1987_Double_L.d64
/
Screen Flash
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
623b
|
22 lines
0 rem << rr38-3 >>
1 rem ---------------------
2 print" screen flash "
3 rem rupert report #38
4 rem c-64
5 rem must run modified
6 rem 'string loader' first.
7 rem ----------------------
10 if peek(49153)<>8 then print"must run modified string loader first":stop
20 input"press any key to begin or to end";a$
30 n=960 :rem quantity
40 y=int(n/256) :rem msb
50 x=n-y*256 :rem lsb
60 print chr$(147);
70 poke 781,x :rem x register
80 poke 782,y :rem y register
90 ch=rnd(0)*64+64 :rem character
100 poke 780,ch :rem a register
110 sys 49152
120 for p=1 to 200:next :rem pause
130 get a$ : if a$="" then goto 60